<template>
  <div>
    <el-tabs style="width: 280px; " v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="蜗轮" name="first">
        <WormGear></WormGear>
      </el-tab-pane>
      <el-tab-pane label="蜗杆" name="second">
        <Worm></Worm>
      </el-tab-pane>

    </el-tabs>

  </div>
</template>

<script>
  import Worm from './Worm.vue';
  import WormGear from './WormGear.vue';
  export default {
    name: 'WormIndex',
    components: { Worm, WormGear },
    data() {
      return {
        activeName: 'first',

      }
    },
    mounted() {

    },
    methods: {
      handleClick(tab, event) {

      },
    }
  }
</script>

<style scoped>

</style>
